#/bin/bash

cd /home/pi/pipaper
ping gitlab.windnbike.site -c 1 && git fetch && git pull
chmod 755 script/*.sh
echo "execute $(date -IIminutes)" >> log/run.log
ping gitlab.windnbike.site -c 1 && git commit -a -m "$(date +%Y-%m-%d) $(date +%H:%M:%S)" && git push
python3 src/printpic.py
